{% extends "!layout.html" %}

{% block extrahead %}
<link href="https://fonts.googleapis.com/css?family=Palanquin:400,600,700,800" rel="stylesheet">
<link href="https://voxel51.com/vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet">
{% endblock %}

{% block custom_header %}
<div class="container-fluid header-holder tutorials-header" id="header-holder">
  <nav id="nav__main" class="nav__main">
    <div class="nav__main__logo">
      <a href="{{link_home}}">
        <img src="https://voxel51.com/images/logo/voxel51-logo-horz-color-600dpi.png" />
      </a>
    </div>

    <div id="nav__main__mobilebutton--on">
      <a href="javascript:void(0);" onclick="navMobileButton()">
        <i class="fa fa-bars"></i>
      </a>
    </div>

    <div id="nav__main__mobilebutton--off">
      <a href="javascript:void(0);" onclick="navMobileButton()">
        <i class="fa fa-times"></i>
      </a>
    </div>

    <div id="nav__main__items">
      <div class="nav__item">
        <a href="{{link_fiftyone}}">Product</a>
      </div>
      <div class="nav__item">
        <a href="{{link_docs_fiftyone}}">Docs</a>
      </div>
      <div class="nav__item">
        <a href="{{link_voxel51_slack}}">Community</a>
      </div>
      <div class="nav__item">
        <a href="{{link_ourstory}}">Company</a>
      </div>
      <div class="nav__item">
        <a href="{{link_press}}">Press</a>
      </div>
      <div class="nav__item desktop_only">
        &nbsp <a href="{{link_voxel51_github}}fiftyone"><i class="fa fa-github fa-header-icon"></i></a>
      </div>
      <div class="nav__item mobile_only">
        <a href="{{link_voxel51_github}}fiftyone">GitHub</a>
      </div>
    </div>
  </nav>
</div>
{% endblock %}

{% block custom_mobile_menu %}
{# delete PyTorch's menu because our own is reused on mobile #}
{% endblock %}

{% block menu %}
{{ toctree(maxdepth=10, collapse=True, includehidden=True, titles_only=True) }}
{% endblock %}

{% block custom_footer %}
<footer class="footer-wrapper" id="docs-tutorials-resources">
<div class="footer pytorch-container">
  <div class="footer__logo">
    <a href="{{link_home}}"><img src="https://voxel51.com/images/logo/voxel51-logo-horz-color-600dpi.png" /></a>
  </div>

  <div class="footer__address">
    {{address_main_line1}}<br />
    {{address_main_line2}}
  </div>

  <div class="footer__contact">
    <a href="mailto:{{email_info}}">{{email_info}}</a><br />
    {{phone_main}}
  </div>

  <div class="footer__links">
    <div class="footer__links--col1">
      <p class="nav__item--brand">Products</p>
      <a href="{{link_fiftyone}}">FiftyOne</a>
      <a href="{{link_platform}}">Platform</a>
      <a href="{{link_pdi}}">PDI</a>
    </div>
    <div class="footer__links--col2">
      <p class="nav__item--brand">Use Cases</p>
      <a href="{{link_usecase_auto}}">Automotive</a>
      <a href="{{link_usecase_research}}">Government</a>
      <a href="{{link_usecase_advertising}}">Advertising</a>
    </div>
    <div class="footer__links--col3">
      <a href="{{link_careers}}">Careers</a>
      <a href="{{link_blog}}">Blog</a>
      <a href="{{link_platform_login}}">Platform Login</a>
      <a href="{{link_scoop_login}}">Scoop Login</a>
      <a href="{{link_status}}">System Status</a>
    </div>
  </div>

  <div class="footer__icons">
    <ul class="list-inline">
      <li>
        <a href="{{link_voxel51_linkedin}}">
          <i class="fa fa-linkedin"></i>
        </a>
      </li>
      <li>
        <a href="{{link_voxel51_github}}">
          <i class="fa fa-github"></i>
        </a>
      </li>
      <li>
        <a href="{{link_voxel51_twitter}}">
          <i class="fa fa-twitter"></i>
        </a>
      </li>
      <li>
        <a href="{{link_voxel51_facebook}}">
          <i class="fa fa-facebook"></i>
        </a>
      </li>
    </ul>
  </div>

  <div class="footer__copyright">
    <ul class="list-inline">
      <li>
        &copy; 2020 Voxel51 Inc.
      </li>
      <li>
        <a href="{{link_privacypolicy}}">Privacy Policy</a>
      </li>
      <li>
        <a href="{{link_termsofservice}}">Terms of Service</a>
      </li>
    </ul>
  </div>
</div>
</footer>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-141773487-1"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-141773487-1');
</script>
{% endblock %}
